﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site1.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    设置新密码
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
    <link href="/Content/Css/privacy.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/Scripts/jquery-1.4.1.min.js"></script>
    <script type="text/javascript" src="/Scripts/formValidator.js" charset="GB2312"></script>
    <script type="text/javascript">
        $(function () {
            $.formValidator.initConfig({ formID: "form2", ErrorTipClass: 'validation-label-error', ErrorElementClass: 'validation-element-error', onSuccess: function (meg) { return true; }, onError: function (msg, obj, errorlist) { return false; } });
            $('#txtpwd').formValidator({ tipID: 'txtpwdTip', onShow: ' ', onFocus: '请输入密码', onError: "输入有误" }).regexValidator({ regExp: "^[a-zA-Z0-9]{6,12}$", onError: "请输入6-12位的字母或数字" });
            $('#txtcomfirm').formValidator({ tipID: 'txtcomfirmTip', onShow: ' ', onFocus: '请输入确认密码', onError: "两次输入不一致" }).compareValidator({ desID: 'txtpwd', operateor: "=", onError: '两次输入不一致' });
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="content">
        <div style="width: 100%; height: 15px; overflow: hidden">
        </div>
        <div class="left">
            <a href="/home/index">
                <img src="/content/images/logo2.png" /></a></div>
        <div class="left">
            <div class="main-nav-top">
                <a href="/home/index">重庆大学生兼职网</a> > <a href="javascript:">重置密码</a></div>
        </div>
        <div style="width: 100%; height: 10px; overflow: hidden">
        </div>
        <div style="height: 2px; background-color: #A10000; width: 100%; overflow: hidden">
        </div>
        <div class="privacy">
            <div class="privacy-title">
                <h2>
                    设置新密码</h2>
            </div>
            <p style="margin-left: 10px; margin-right: 10px; text-align: justify">
                请按如下提示重新设置您的密码，并请牢记新密码！<br />
                <font style="color:Red; font-weight:bold;">注：请勿刷新此页！</font>
            </p>
            <div class="privacy-box" style="padding-top: 15px">
                <form id="form2" action="/account/ResetPasswordDone" method="post">
                <input type="hidden" name="UserName" value="<%:ViewData["username"]%>" />
                <div style="overflow: hidden; width: 100%">
                    <div class="left" style="width: 70px; text-align:right; padding-top:3px;">
                        新密码：
                    </div>
                    <div class="left">
                        <input type="password" id="txtpwd" name="Password" />
                    </div>
                    <div class="left" style="padding-top:3px;">
                        <div id="txtpwdTip">
                        </div>
                    </div>
                </div>
                <div style="overflow: hidden; width: 100%; padding-top:15px">
                    <div class="left" style="width: 70px; text-align:right; padding-top:3px;">
                        确认密码：
                    </div>
                    <div class="left">
                        <input type="password" id="txtcomfirm" name="Confirm" />
                    </div>
                    <div class="left" style="padding-top:3px;">
                        <div id="txtcomfirmTip">
                        </div>
                    </div>
                </div>
                <div style="padding-left: 72px; padding-top: 15px; width: 100%;">
                    <input type="submit" id="btncomplete" value=" " style="background-image: url(/content/images/usercenter-submit.png);
                        cursor: pointer; width: 80px; height: 24px; border: none;" />
                </div>
                </form>
            </div>
        </div>
    </div>
</asp:Content>
